package dryven.view.engine.expression;

import dryven.view.engine.parser.CompilationException;

public class ExpressionCompilationException extends CompilationException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4586688636059714630L;

	public ExpressionCompilationException(String expression, String message) {
		this(expression,message,null);
	}
	
	public ExpressionCompilationException(String expression, String message, Throwable cause) {
		super(String.format("Expression '%s' could not be compiled: %s",expression,message),cause);
	}
}
